var ckf_hexcase = 0;
var ckf_chrsz   = 8;
function ckf_hex_md5(s){ return ckf_binl2hex(ckf_core_md5(ckf_str2binl(s), s.length * ckf_chrsz));}
function ckf_core_md5(x, len)
{
  x[len >> 5] |= 0x80 << ((len) % 32);
  x[(((len + 64) >>> 9) << 4) + 14] = len;

  var a =  1732584193;
  var b = -271733879;
  var c = -1732584194;
  var d =  271733878;

  for(var i = 0; i < x.length; i += 16)
  {
    var olda = a;
    var oldb = b;
    var oldc = c;
    var oldd = d;

    a = ckf_md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
    d = ckf_md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
    c = ckf_md5_ff(c, d, a, b, x[i+ 2], 17,  606105819);
    b = ckf_md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
    a = ckf_md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
    d = ckf_md5_ff(d, a, b, c, x[i+ 5], 12,  1200080426);
    c = ckf_md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
    b = ckf_md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
    a = ckf_md5_ff(a, b, c, d, x[i+ 8], 7 ,  1770035416);
    d = ckf_md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
    c = ckf_md5_ff(c, d, a, b, x[i+10], 17, -42063);
    b = ckf_md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
    a = ckf_md5_ff(a, b, c, d, x[i+12], 7 ,  1804603682);
    d = ckf_md5_ff(d, a, b, c, x[i+13], 12, -40341101);
    c = ckf_md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
    b = ckf_md5_ff(b, c, d, a, x[i+15], 22,  1236535329);

    a = ckf_md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
    d = ckf_md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
    c = ckf_md5_gg(c, d, a, b, x[i+11], 14,  643717713);
    b = ckf_md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
    a = ckf_md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
    d = ckf_md5_gg(d, a, b, c, x[i+10], 9 ,  38016083);
    c = ckf_md5_gg(c, d, a, b, x[i+15], 14, -660478335);
    b = ckf_md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
    a = ckf_md5_gg(a, b, c, d, x[i+ 9], 5 ,  568446438);
    d = ckf_md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
    c = ckf_md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
    b = ckf_md5_gg(b, c, d, a, x[i+ 8], 20,  1163531501);
    a = ckf_md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
    d = ckf_md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
    c = ckf_md5_gg(c, d, a, b, x[i+ 7], 14,  1735328473);
    b = ckf_md5_gg(b, c, d, a, x[i+12], 20, -1926607734);

    a = ckf_md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
    d = ckf_md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
    c = ckf_md5_hh(c, d, a, b, x[i+11], 16,  1839030562);
    b = ckf_md5_hh(b, c, d, a, x[i+14], 23, -35309556);
    a = ckf_md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
    d = ckf_md5_hh(d, a, b, c, x[i+ 4], 11,  1272893353);
    c = ckf_md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
    b = ckf_md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
    a = ckf_md5_hh(a, b, c, d, x[i+13], 4 ,  681279174);
    d = ckf_md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
    c = ckf_md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
    b = ckf_md5_hh(b, c, d, a, x[i+ 6], 23,  76029189);
    a = ckf_md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
    d = ckf_md5_hh(d, a, b, c, x[i+12], 11, -421815835);
    c = ckf_md5_hh(c, d, a, b, x[i+15], 16,  530742520);
    b = ckf_md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);

    a = ckf_md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
    d = ckf_md5_ii(d, a, b, c, x[i+ 7], 10,  1126891415);
    c = ckf_md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
    b = ckf_md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
    a = ckf_md5_ii(a, b, c, d, x[i+12], 6 ,  1700485571);
    d = ckf_md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
    c = ckf_md5_ii(c, d, a, b, x[i+10], 15, -1051523);
    b = ckf_md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
    a = ckf_md5_ii(a, b, c, d, x[i+ 8], 6 ,  1873313359);
    d = ckf_md5_ii(d, a, b, c, x[i+15], 10, -30611744);
    c = ckf_md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
    b = ckf_md5_ii(b, c, d, a, x[i+13], 21,  1309151649);
    a = ckf_md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
    d = ckf_md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
    c = ckf_md5_ii(c, d, a, b, x[i+ 2], 15,  718787259);
    b = ckf_md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);

    a = ckf_safe_add(a, olda);
    b = ckf_safe_add(b, oldb);
    c = ckf_safe_add(c, oldc);
    d = ckf_safe_add(d, oldd);
  }
  return Array(a, b, c, d);

}
function ckf_md5_cmn(q, a, b, x, s, t)
{
  return ckf_safe_add(ckf_bit_rol(ckf_safe_add(ckf_safe_add(a, q), ckf_safe_add(x, t)), s),b);
}
function ckf_md5_ff(a, b, c, d, x, s, t)
{
  return ckf_md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
}
function ckf_md5_gg(a, b, c, d, x, s, t)
{
  return ckf_md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
}
function ckf_md5_hh(a, b, c, d, x, s, t)
{
  return ckf_md5_cmn(b ^ c ^ d, a, b, x, s, t);
}
function ckf_md5_ii(a, b, c, d, x, s, t)
{
  return ckf_md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
}
function ckf_safe_add(x, y)
{
  var lsw = (x & 0xFFFF) + (y & 0xFFFF);
  var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
  return (msw << 16) | (lsw & 0xFFFF);
}
function ckf_bit_rol(num, cnt)
{
  return (num << cnt) | (num >>> (32 - cnt));
}
function ckf_str2binl(str)
{
  var bin = Array();
  var mask = (1 << ckf_chrsz) - 1;
  for(var i = 0; i < str.length * ckf_chrsz; i += ckf_chrsz)
    bin[i>>5] |= (str.charCodeAt(i / ckf_chrsz) & mask) << (i%32);
  return bin;
}
function ckf_binl2hex(binarray)
{
  var hex_tab = ckf_hexcase ? "0123456789ABCDEF" : "0123456789abcdef";
  var str = "";
  for(var i = 0; i < binarray.length * 4; i++)
  {
    str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) +
           hex_tab.charAt((binarray[i>>2] >> ((i%4)*8  )) & 0xF);
  }
  return str;
}
  var code='3db5b38a396df62415b446847b9ef736';
  var referrer=window.top.document.referrer;
  var code2='3db5b38a396df62415b446847b9ef736';
  var comeurl='';
  var hostname=window.location.hostname;
  var md5hostname=ckf_hex_md5(hostname);
  if(code==md5hostname || code2==md5hostname || code==undefined || code=="" || code==null){
  document.writeln('');
  }
var $onez={
  funcList:[],
  init:function(f){
    if(typeof $onez.jq!='undefined'){
      return $onez.jq(f);
    }
    $onez.funcList.push(f);
  }
};

function _onez_wait_init(){
  window.jQ=$onez.jq;
  for(var k in $onez.funcList){
    $onez.funcList[k]($onez.jq);
  }
}
function _onez_wait_jQuery(){
  if(typeof jQuery=='undefined'){
    setTimeout('_onez_wait_jQuery()',100);
  }else{
    $onez.jq=jQuery.noConflict();
    _onez_wait_init();
  }
}
if(typeof jQuery=='undefined'){
  document.writeln('<scr'+'ipt type="text/javascript" src="https://chat.ichat800.com/js/jquery-1.9.1.min.js"></scr'+'ipt>');
  _onez_wait_jQuery();
}else{
  $onez.jq=jQuery;
  _onez_wait_init();
}
var homepage="https://chat.ichat800.com/";
var mb="";
var im_id="";
var im_cid="800015083";
var im_wid="";
var im_sessionid="";
var site_code="3db5b38a396df62415b446847b9ef736";
var is_https="1";
var im_uid="";
var im_randstr="";
var im_title="";
var im_thecount=5;
var im_count=0;
var im_posx="right";
var im_x=0;
var im_posy="top";
var im_y=0;
var im_iconstyle="002";
var im_tipstyle="010";
var im_opennew="0";
var im_inviteindex="0";
var im_invitetitle="&#24744;&#22909;,&#24456;&#39640;&#20852;&#20026;&#24744;&#26381;&#21153;!";
var im_invitecontent="&#35831;&#38382;&#26377;&#20160;&#20040;&#21487;&#20197;&#24110;&#21040;&#24744;&#65311;";
var im_type="list";
var imgwidth=114;
if(im_iconstyle=='001')imgwidth=50;
if(im_iconstyle=='002')imgwidth=114;
if(im_iconstyle=='003')imgwidth=145;
if(im_iconstyle=='004')imgwidth=182;
var invite_div = document.getElementById('invite_div');
if (invite_div) {
    invite_div.style.left = document.body.clientWidth / 2 - 192;
    invite_div.style.top = document.body.clientHeight / 2 - 150;
}


var _eqmk_kefu_offsetX = 0;
var _eqmk_kefu_ready = false;

$onez.init(function ($) {
    //init
    $('body').css({overflowX: 'hidden'});
    $('.ckf_list_d').hide();
    // _eqmk_kefu_init($);
    //autofloat
    _eqmk_kefu_float($, true);
    $(window).bind('resize', function () {
        _eqmk_kefu_float($, true);
    });
    $(window).scroll(function () {
        _eqmk_kefu_float($, true);
    });
    $('#frame_bar').bind('mouseover', function () {
        $('.ckf_list_d').show();
        if (!$('#cndnsckf_frame_div').is(":animated")) {

            _eqmk_kefu_ready = true;
            $(this).hide();
            if (im_posx == 'right') {
                _eqmk_kefu_offsetX = $('#cndnsckf_frame_div').width();
            } else if (im_posx == 'left') {
                _eqmk_kefu_offsetX = 0;
            }
            _eqmk_kefu_float($);
        }
    });
    $('#cndnsckf_frame_div').bind('mouseover', function () {
        _eqmk_kefu_ready = true;
    });
    $(window).bind('mousemove', function (e) {
        if (im_type == 'icon') {
            return;
        }
        if (!_eqmk_kefu_ready) {
            return;
        }
        if (im_posx == 'right') {
            if (e.pageX < $(window).width() - 114) {
                if (_eqmk_kefu_offsetX > 0) {
                    $('#frame_bar').show();
                    _eqmk_kefu_offsetX = 0;
                    _eqmk_kefu_float($);
                }
            }
        } else if (im_posx == 'left') {
            if (e.pageX > 114) {
                if (_eqmk_kefu_offsetX != -114) {
                    $('#frame_bar').show();
                    _eqmk_kefu_offsetX = -114;
                    _eqmk_kefu_float($);
                }
            }
        }
    });
    setTimeout(function () {
        $('#invite_div').show();
    }, im_thecount * 1000);
});

//init
function _eqmk_kefu_hide() {
    $onez.jq('#frame_bar').show();
    _eqmk_kefu_offsetX = 0;
    _eqmk_kefu_float($onez.jq);
}

function _eqmk_kefu_init($) {
    var JS_URL_TMP = homepage + 'api/kefu.php?';
    JS_URL_TMP += '&action=vistor_update';
    JS_URL_TMP += '&cid=' + im_cid;
    JS_URL_TMP += '&im_wid=' + im_wid;
    JS_URL_TMP += '&im_uid=' + im_id;
    JS_URL_TMP += '&im_sessionid=' + im_sessionid;
    JS_URL_TMP += '&im_systemlanguage=' + (navigator.systemLanguage ? navigator.systemLanguage : navigator.language);
    JS_URL_TMP += '&im_color=' + screen.colorDepth;
    JS_URL_TMP += '&im_screensize=' + screen.width + '*' + screen.height;
    JS_URL_TMP += '&im_charset=' + document.charset;
    JS_URL_TMP += '&im_pageurl=' + escape(window.top.location.href);
    JS_URL_TMP += '&im_referer=' + escape(window.top.document.referrer);
    JS_URL_TMP += '&im_code=' + code;
    $.getScript(JS_URL_TMP);
}

//autofloat
function _eqmk_kefu_float($, first) {
    var obj = $('#cndnsckf_frame_div');
    var css = {};
    if (im_posx == 'right') {
        x_left = $(window).width() - _eqmk_kefu_offsetX - im_x + 'px';
        css.left = x_left;
        css.right = 'auto';
    } else if (im_posx == 'left') {
        x_left = _eqmk_kefu_offsetX + im_x + 'px';
        css.left = x_left;
        css.right = 'auto';
    } else if (im_posx == 'center') {
        x_left = ($(window).width() - obj.width()) / 2 + 'px';
        css.left = x_left;
        css.right = 'auto';
    }
    if (im_posy == 'top') {

    } else if (im_posy == 'bottom') {

    } else if (im_posy == 'middle') {

    }
    if (first) {
        obj.css(css);
    } else {
        obj.animate(css, 100);
    }
}

function OpenDialog(wid) {
    window.open("https://chat.ichat800.com/kf.php?mod=client&cid=" + im_cid + "&wid=" + wid + "&uid=" + im_sessionid + "&code=" + site_code + "&tps=" + is_https, "KefuDialog", "toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1000,height=650,left=" + ($onez.jq(window).width() - 1000) / 2 + ",top=" + ($onez.jq(window).height() - 650) / 2);
    $onez.jq("#invite_div").hide();
}

function Accept() {
    OpenDialog('icon');
}

function Next() {
    $onez.jq("#invite_div").hide();
}

function CloseListDiv() {
    $onez.jq("#cndnsckf_frame_div").hide();
}

function CloseDiv() {
    $onez.jq("cndnsckf_frame_div").hide();
}$onez.init(function($){
      });
